﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUGCOME.Model.Common.dto
{
    /// <summary>
    /// 多语言配置输入对象
    /// </summary>
    public class LangDto
    {
        //[Required(ErrorMessage = "id不能为空")]
        public long Id { get; set; }
        //[Required(ErrorMessage = "语言code不能为空")]
        public string LangCode { get; set; }
        public string LangKey { get; set; }
        //[Required(ErrorMessage = "名称不能为空")]
        public string LangName { get; set; }
        public List<LangDto> LangList { get; set; }
    }

    /// <summary>
    /// 多语言配置查询对象
    /// </summary>
    public class LangQueryDto : PagerInfo
    {
        /// <summary>
        ///  语言code
        /// </summary>
        public string? LangCode { get; set; }

        /// <summary>
        /// 语言key
        /// </summary>
        public string? LangKey { get; set; }
        public DateTime? BeginAddtime { get; set; }
        public DateTime? EndAddtime { get; set; }
        public int ShowMode { get; set; }
    }
}
